Rules

The Rules window is used to set system rules for items and installations in your script. This window is opened by clicking the Set... button inside the System Rules tab view in any script item's info window or by clicking the Set... button in an Installation Editor window.
System Rules behave differently when attached to script items and installations. For script items, the rules are checked when each item is installed. If the rules are not met on the user's machine, the item is skipped. For installations, the rules are checked as soon as the user's chooses that installation option. If any rules are not met, the user receives a message listing the rules that were not met, and the installation does not proceed.
The Rules window contains the following items:
- Minimum Memory
- This field determines the minimum memory needed to install a script item or perform an installation. The memory checked is the physical memory inside the user's machine. This does not include virtual memory.
- Minimum System
- This field determines the minimum system version needed to install a script item or perform an installation. This field is automatically converted to the format needed by the installer (i.e. "7.1" becomes "7.1.0").
- Maximum System
- This field determines the maximum system version allowed to install a script item or perform an installation. This field is automatically converted to the format needed by the installer (i.e. "7.1" becomes "7.1.0").
- Color
- This popup determines the color setting required to install a script item or perform an installation. Color is determined by checking the current monitor depth of all attached monitors. If any monitor has a depth greater than 1-bit (i.e. black & white), color is considered to be present.
- "Ignore when installing" installs regardless of color capability.
- "Install if present" installs only if color is present.
- "Install if not present" installs only if color is not present.
- FPU
- This popup determines whether an FPU (floating-point processor) is required to install a script item or perform an installation. FPU is determined by checking the Gestalt call for the presence of an FPU. Note that PowerPC Macintoshes return false for this call, so if you want your software to be installed on a machine that contains an FPU or on a PowerMacintosh, then you must check the Ignore FPU Rule on PowerPC Macintosh.
- "Ignore when installing" installs whether or not an FPU is present.
- "Install if present" installs only if an FPU is present.
- "Install if not present" installs only if an FPU is not present.
- Ignore FPU rule on PowerPC Macintosh
- This setting causes the installer to ignore the FPU rule when running on a PowerPC Macintosh. This option is necessary since PowerPC Macintoshes return false when asked if they have an FPU.
- 680X0
- This popup determines whether a 680x0 processor is required to install a script item or perform an installation. The From and To options following this popup menu allow you to specify exactly which 680x0 processors are eligible.
- "Ignore when installing" installs whether or not a 680x0 is present.
- "Install if present" installs if a 680x0 is present. If this option is selected, the "From" and "To" popup menus are enabled for setting a minimum and maximum processor value.
- "Install if not present" installs if a 680x0 is not present. If you want to install only on a PowerPC-based Macintosh, choose this setting.
The 680x0 rule is only tested when the installer is running on a 680x0 based Macintosh. For example, if you set the 680x0 rule to "Install if present" and set a minimum processor of 68040, the item or installation would install on a PowerPC Macintosh (unless you set the PowerPC rule to "Install if not present").
- PowerPC
- This popup determines whether a PowerPC processor is required to install a script item or perform an installation. The From and To options following this popup menu allow you to specify exactly which PowerPC processors are eligible.
- "Ignore when installing" installs whether or not a PowerPC is present.
- "Install if present" installs if a PowerPC is present. If this option is selected, the "From" and "To" popup menus are enabled for setting a minimum and maximum processor value.
- "Install if not present" installs if a PowerPC is not present. If you want to install only on a 680x0-based Macintosh, choose this setting.
The PowerPC rule is only tested when the installer is running on a PowerPC-based Macintosh. For example, if you set the PowerPC rule to "Install if present" and set a minimum processor of 603, the item or installation would install on a 680x0 Macintosh (unless you set the 680x0 rule to "Install if not present").
- Change
- This button closes this window, saving any changes.
- Cancel
- This button closes this window, canceling any changes.
[Contents | Contact Information]
Last modified 26-MAR-96
Copyright © 1996 Ray Sauers Associates, Inc.